<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>指冠网</title>
<link href="style/css/zhiguan.css" rel="stylesheet" type="text/css">
<script src="style/js/jquery.js"></script>
<script src="style/js/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="style/css/center.css" />
<script type="text/javascript" src="style/js/common.func.js"></script>
<link href="web/css/bootstrap-3.2.0.min.css" rel="stylesheet" type="text/css"/> 
</head>

<body>
<div id="FloatDIV" style="position: absolute;top: 0px; z-index:9999">
  <img src="style/image/dh01.png">
  <a href="#"><img src="style/image/dh02.png"></a>
  <img src="style/image/dh03.png">
  <a href="#"><img src="style/image/dh04.png"></a>
  <img src="style/image/dh05.png">
  <a href="#"><img src="style/image/dh06.png"></a>
  <img src="style/image/dh07.png">
  <a href="#"><img src="style/image/dh08.png"></a>
</div>
<div id="showservicepeople" class="showservicepeople" onClick="showservicepeople()">
</div>
<div class="top">
  <div class="top1">
    <div class="top3"><img src="style/image/sc.png"><a onClick="AddFavorite(window.location,document.title)" href="javascript:void(0)">加入收藏</a></div>
    <div class="top2">您好,欢迎光临! <?php if (!empty($_SESSION['userid'])) { ?>
                <a href="#"><?php echo $_SESSION['username']; ?> </a> 
                <a href="index.php?c=login&a=loginout">安全退出</a>
            <?php } else { ?>
                <a href="index.php?c=login&a=index">登录</a>   <a href="index.php?c=login&a=register">注册</a>
            <?php } ?>  </div>
  </div>
</div>
<div class="head">
  <div class="logo"><img src="style/image/logo.png"></div>
  <div class="tp1"><img src="style/image/tp1.jpg"></div>
</div>
<div class="navWrap">
  <div class="navChild">
    <ul>
      <li><a href="/">首页</a></li>
      <li><a href="index.php?c=task&a=list">刷单中心</a></li>
      <li><a href="index.php?c=index&a=artlist">互动论坛</a></li>
      <li><a href="/">推广中心</a></li>
      <li><a href="/">帮助中心</a></li>
      <li class="navLiHover" style="float: right;"><a href="index.php?c=index&a=index"><em  class="zhongxing"></em>个人中心</a></li>
    </ul>
  </div>
</div>
<div class="Location"><img src="style/image/weizhi.png">当前位置：<a href="index.html">指冠网</a>>用户注册
</div>


<div style="width:600px; height:600px; border:1px solid #ccc; border-radius: 6px; margin:30px auto;">
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="text" name="username" class="form-control" id="inputEmail3" placeholder="用户名">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="password" name="password" class="form-control" id="inputPassword3" placeholder="密码">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="password" name="confirm_password" class="form-control" id="inputPassword3" placeholder="确认密码">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="email" name="email" class="form-control" id="inputEmail3" placeholder="Email">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="text" name="relname" class="form-control" id="inputEmail3" placeholder="真实姓名">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="text" name="phone" class="form-control" id="inputEmail3" placeholder="手机号码">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="text" name="QQ" class="form-control" id="inputEmail3" placeholder="QQ">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        &nbsp&nbsp&nbsp&nbsp<button class="btn btn-default submit">同意服务条款并注册</button>&nbsp<a href="#">这里是条款链接</a>
                    </div>
                
        </div>
  

</div>
<div class="bottom">Copyright © 指冠网 - 专业的刷单平台
</div>
<script>
        $(function () {
            $(".submit").click(function () {
                $.ajax({
                    url: 'index.php?c=login&a=checkregister',
                    type: 'post',
                    data: {
                        username:$("input[name='username']").val(),
                        password:$("input[name='password']").val(),
                        confirm_password:$("input[name='confirm_password']").val(),
                        email:$("input[name='email']").val(),
                        relname:$("input[name='relname']").val(),
                        phone:$("input[name='phone']").val(),
                        QQ:$("input[name='QQ']").val(),
                        friend:<?php if($p){echo $p;}else{echo '0';} ?>
                    },
                    success: function (result) {
                        if(result==1){
                            alert("注册成功");
                            location.href="index.php?c=login&a=index";
                        }else{
                            json = jQuery.parseJSON(result);    
                            alert(json);
                        }                      
                    }
                })
            })
        })
    </script>
<script type="text/javascript" language="javascript">
 
    //加入收藏
 
        function AddFavorite(sURL, sTitle) {
 
            sURL = encodeURI(sURL); 
        try{   
 
            window.external.addFavorite(sURL, sTitle);   
 
        }catch(e) {   
 
            try{   
 
                window.sidebar.addPanel(sTitle, sURL, "");   
 
            }catch (e) {   
 
                alert("加入收藏失败，请使用Ctrl+D进行添加,或手动在浏览器里进行设置.");
 
            }   
 
        }
 
    }
</script>
<script type="text/javascript"> 
  var MarginLeft = 50;    //浮动层离浏览器右侧的距离
  var MarginTop = 200;   //浮动层离浏览器顶部的距离
  var Width = 118;            //浮动层宽度
  var Heigth= 178;           //浮动层高度
  
  //设置浮动层宽、高
  function Set()
  {
      document.getElementById("FloatDIV").style.width = Width + 'px';
      document.getElementById("FloatDIV").style.height = Heigth + 'px';
  }
  
  //实时设置浮动层的位置
  function Move()
  {
        var b_top = window.pageYOffset  
                || document.documentElement.scrollTop  
                || document.body.scrollTop  
                || 0;
        var b_width= document.body.clientWidth;
      document.getElementById("FloatDIV").style.top = b_top + MarginTop + 'px';
      document.getElementById("FloatDIV").style.left = b_width - Width - MarginLeft + 'px';
      setTimeout("Move();",100);
  }
  
  function showservicepeople()
  {
        location.href='在线客服.aspx';
  }
  
  
  Set();
  Move();

</script>
<script type="text/javascript">

function slideLine(ul, delay, speed, lh) {
	var slideBox = document.getElementById(ul);
	var delay = delay, speed=speed, lh = lh;
	var tid = null, pause = false;
	var start = function() {
		tid=setInterval(slide, speed);
	}
	var slide = function() {
		if (pause) return;
		slideBox.scrollTop += 2;	
		if (slideBox.scrollTop % lh == 0) {
			clearInterval(tid);
			slideBox.appendChild(slideBox.getElementsByTagName('li')[0]);
			slideBox.scrollTop = 0;
			setTimeout(start, delay);
		}
	}
	slideBox.onmouseover=function(){pause=true;}
	slideBox.onmouseout=function(){pause=false;}
	setTimeout(start, delay);
}
try{
	slideLine('shuazuan_tips', 5000, 50, 14);
}catch(e) {}
</script>
<script type="text/javascript">

$.ajaxSetup({cache:false});
var memberLogined=true;
var loginUsername='gxb';
var weburl='http://www.smttg.com';
var weburl2='/';
var sys_hash2='MDc3ZnRxK1YwNnIzQVVXN2hNVmg0NTY0WkdZU2VpbENERE03MkhlSXpiY2RVejVBd0tRKzh3RmJRVk9wVnRWUjRxOG1VREFFWVB4U2QzMVdyQQ==';
</script>

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F60413ed4a1978cf57f1d22dbe529e4a9' type='text/javascript'%3E%3C/script%3E"));

</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=29178453" charset="UTF-8"></script></div>
</body>
    <script src="web/js/jquery-2.1.1.min.js"></script>
    <script src="web/js/bootstrap-3.2.0.min.js"></script>

</html>
